
jQuery(document).ready(function() {
		
       
    /*
        Form validation
    */
    $('form').submit(function(){
		$("#sc").html('');
		
        var adminNumber = $(this).find('input#adminNumber').val();
        var password = $(this).find('input#password').val();
        if(adminNumber == '') {
            $("#sc").append("<div style='color: red ;text-align: center'><i ></i><span>用户名不能为空!</span></div>");
            return false;
		}
        if(password == '') {
            $("#sc").append("<div style='color: red ;text-align: center'><i></i><span>密码不能为空!</span></div>");
			return false;
        }
    });


});


